H1, H2, H3, H4, H5, H6NN n/a   IE 4   DOM 1

These objects reflect the HTML header elements of the same names. See the description of the elements in for examples of how various browsers render each of the header sizes.

 
HTML Equivalent
<H1>
<H2>
<H3>
<H4>
<H5>
<H6>
 
Object Model Reference
IE [window.]document.all.elementID
alignNN n/a   IE 4   DOM 1
 Read/Write
 

Defines the horizontal alignment of the element within its surrounding container.

 
Example
document.all.myHeader.align = "center"
 
Value
Any of the three horizontal alignment constants: center | left | right.
 
Default left